<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Admin Panel - Version 4.0</title>
<link href="<?= base_url() ?>public/templates/verify/css/style.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <section id="content">
        <?php
        if(isset($error) || validation_errors()){
            echo "<div id='error'>";
            echo validation_errors();
            if($_POST['txtuser'] && $_POST['txtpass']){
                echo $error;
            }
            echo "</div>";
        }
        ?>
        <form action="<?= base_url()."verify/login"?>" method="post">
            <h1>Admin Panel</h1>
            <div>
                <input type="text" placeholder="Username" required="" id="username" name="txtuser"/>
            </div>
            <div>
                <input type="password" placeholder="Password" required="" id="password" name="txtpass"/>
            </div>
            <div>
                <input type="submit" value="Log in" name="ok"/>
                <!--<a href="#">Lost your password?</a>
                <a href="#">Register</a>-->
            </div>
        </form> <!--form -->
        <div class="button">
            <!--<a href="#">Download source file</a>-->
        </div><!-- button -->
    </section><!-- content -->
</div><!-- container -->
</body>
</html>